@import "reset.css";
@import "../font/iconfont.css";

#page{
    max-width: 750px;
    margin: 0 auto;
}

/*顶部*/
#header_top{
    height: .64rem;
    display: flex;
    background-color: #ff6040;
    padding: .45rem .12rem 1.9rem .33rem;
    justify-content: space-between;
    align-items: center;
    color: #ffdfd8;
    font-size: .3rem;
    position: relative;
    p{
        span{
            &.iconfont{
                font-size: .3rem;
                color: #ffdfd8;
            }
        }
        &.iconfont{
            font-size: .3rem;
            color: #ffdfd8;
        }
        &.text1{
            margin: 0 1.23rem 0 2.61rem;
            white-space: nowrap;
        }
        &:nth-of-type(3){
            width: 1.74rem;
            height: .64rem;
            border: 1px solid #ff8a6f;
            border-radius: .4rem;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: space-around;
            position: relative;
            i{
                width: 1px;
                height: 0.37rem;
                background-color: #ff896e;
                position: absolute;
            }
        }
    }
    /*地址*/ 
    #address{
        width: 7.10rem;
        height: 2.08rem;
        background-color: #fff;
        border-radius: .2rem;
        position: absolute;
        top: 1.3rem;
        padding: .4rem;
        margin-left: -.13rem;
        box-sizing: border-box;
        p{
            &:nth-of-type(1){
                font-size: .34rem;
                color: #333;
            }
            &:nth-of-type(2){
                font-size: .26rem;
                color: #666;
                margin-top: .2rem;
            }
        }
    }
}



/*发票*/
#invoice{
    background-color: #fff;
    margin-top: .68rem;
    padding: .4rem .2rem;
    box-sizing: border-box;
    .title{
        .left{
            float: left;
            img{
                width: .33rem;
                float: left;
            }
            span{
                margin-left: .2rem;
                font-size: .3rem;
                font-weight: bold;
            }
        }
        .right{
            float: right;
            span{
                float: left;
                font-size: .22rem;
                &:nth-child(1){
                    color: #3a3a3a;
                }
                &:nth-child(3){
                    color: #ff6040;
                }
            }
            i{
                float: left;
                width: .02rem;
                height: .22rem;
                background-color: #979797;
                margin: .05rem .2rem 0;
            }
        }
        
    }
    ul{
        li{
            margin-top: .4rem;            
            display: flex;
            img{
                margin-right: .28rem;
                width: 2.15rem;
            }
            div{
                width: 4.57rem;
                p{
                    &:nth-child(1){
                        width: 4.57rem;
                        color: #333;
                        font-size: .3rem;
                    }
                    &:nth-child(2){
                        margin-top: .4rem;
                        width: 4.57rem;
                        color: #ff6040;
                        overflow: hidden;
                        span{
                            float: left;
                            &:nth-of-type(1){
                                font-size: .14rem;
                                line-height: .55rem;
                            }
                            &:nth-of-type(2){
                                font-size: .34rem;
                            }
                        }
                        i{
                            float: right;
                            font-size: .24rem;
                            color: #333;
                            line-height: .4rem;
                        }
                    }
                    &:nth-child(3){
                        margin-top: .2rem;
                        overflow: hidden;
                        span{
                            float: left;
                            background-color: #ff8066;
                            color: #ffebe7;
                            font-size: .18rem;
                            text-align: center;
                            line-height: .32rem;
                            border-top: 1px solid #ffdad2;
                            &:nth-of-type(1){
                                width: 1.44rem;
                                height: 0.32rem;                              
                            }
                            &:nth-of-type(2){
                                width: .72rem;
                                height: 0.32rem; 
                            margin-left: .1rem;                             
                            }
                        }
                    }
                }
            }
        }
    }
    .con1,.con2,.con3{
        margin-top: .4rem;
        font-size: .22rem;
        padding: 0 .18rem;
        color: #333;
        overflow: hidden;
    }
    .con1{
        margin-top: .6rem;
        line-height: .4rem;
        span{
            &:nth-child(1){
                float: left;
                font-weight: bold;
            }
            &:nth-child(3){
                float: right;
            }
            &:nth-child(2){
                float: right;
                font-size: .18rem;
                color: #858585;
                vertical-align: middle;
                margin-left: .1rem;               
            }
        }
    }
    .con2{
        span{
            &:nth-child(1){
                float: left;
                font-weight: bold;
            }
            &:nth-child(2){
                float: right;
                color: #747474;
            }
        }
    }
    .con3{
        span{
            &:nth-child(1){
                font-weight: bold;
                float: left;
            }
            &:nth-child(2){
                float: right;
                color: #747474;
            }
        }
    }
} 


/*价格*/
#price{
    background: #fff;
    margin-top: .2rem;
    overflow: hidden;
    p{
        margin-top: .4rem;
        font-size: .22rem;
        padding: 0 .18rem;
        color: #333;
        overflow: hidden;
        &:nth-child(1){
            span{
                &:nth-child(1){
                    float: left;
                    font-weight: bold;
                }
                &:nth-child(2){
                    float: right;
                    color: #747474;
                }
            }
        }
        &:nth-child(2){
            span{
                &:nth-child(1){
                    float: left;
                    font-weight: bold;
                }
                &:nth-child(2){
                    float: right;
                    color: #ff6040;
                }
            }
        }
        &:nth-child(3){
            line-height: .4rem;
            span{
                &:nth-child(1){
                    float: left;
                    font-weight: bold;
                }
                &:nth-child(3){
                    float: right;
                }
                &:nth-child(2){
                    float: right;
                    font-size: .18rem;
                    color: #858585;
                    vertical-align: middle;
                    margin-left: .1rem;               
                }
            }
        }
    }
} 


/*尾部*/
footer{
    height: 1.65rem;
    border-top: 1px solid #ccc;
    background-color: #fff;
    .top{
        height: .98rem;
        padding-left: .2rem;
        p{
            float: left;
            &:nth-child(1){
                margin-right: .3rem;
                height: .98rem;
                display: flex;
                flex-direction: column;
                justify-content: center;
                span{
                    &:nth-child(1){
                        font-size: .32rem;
                        font-weight: bold;
                        color: #333;
                    }
                    &:nth-child(2){
                        font-size: .18rem;
                        color: #a5a5a5;
                    }
                }
            }
            &:nth-child(2){
                height: .98rem;
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                justify-content: center;
                span{
                    &:nth-child(1){
                        font-size: .32rem;
                        font-weight: bold;
                        color: #ff6040;
                    }
                    &:nth-child(2){
                        font-size: .18rem;
                        color: #a5a5a5;
                    }
                }
            }
            &:nth-child(3){
                font-size: .3rem;
                font-weight: bold;
                float: right;
                height: .98rem;
                width: 2.2rem;
                line-height: .98rem;
                text-align: center;
                color: #fff;
                background-color: #ff6040;
            }
        }
    }
    .bottom{
        display: flex;
        justify-content: center;
        p{
            width: 2.68rem;
            height: .1rem;
            background-color: #000;
            border-radius: .05rem;
            margin-top: .4rem;
        }
        
    }
}